home *** CD-ROM | disk | FTP | other *** search
- (* %filename% -- main program *)
- (* Created %date% %time% by AppMaker *)
-
- MODULE M%appname%;
-
- FROM Object IMPORT
- GENERATE;
- FROM UMacAppUtilities IMPORT
- gConfiguration,
- InitToolBox, ValidateConfiguration;
- FROM UFailure IMPORT
- FailNIL;
- FROM UMacApp IMPORT
- phUnsupportedConfiguration,
- InitUMacApp,
- StdAlert;
- FROM UPrinting IMPORT
- InitUPrinting;
- FROM UTEView IMPORT
- InitUTEView;
- FROM UGridView IMPORT
- InitUGridView;
- FROM UDialog IMPORT
- InitUDialog;
- FROM U%appname% IMPORT
- T%Appname%App;
-
- VAR
- g%Appname%App:% %T%Appname%App;
-
- (*SEG Main*)
- (*----------*)
- BEGIN
- InitToolBox;
- IF ValidateConfiguration (gConfiguration) THEN
- InitUMacApp (10); (* number of calls to MoreMasters *)
- InitUPrinting;
- InitUTEView;
- InitUGridView;
- InitUDialog;
-
- GEN (g%Appname%App);
- FailNIL (g%Appname%App);
- g%Appname%App.I%Appname%App;
- g%Appname%App.Run;
- ELSE
- StdAlert (phUnsupportedConfiguration);
- END(*IF*);
- END M%appname%.
-